home *** CD-ROM | disk | FTP | other *** search
/ PC Format (UK) 124 / pcfcd124-a.iso / PCF Shareware.dxr / 00009_go to the frame.ls < prev    next >
Encoding:
Text File  |  2001-05-22  |  435 b   |  19 lines

  1. on enterFrame
  2.   if sprite(5).blend < 100 then
  3.     sprite(5).blend = sprite(5).blend + 2
  4.   end if
  5.   if sprite(5).blend = 100 then
  6.     set the locH of sprite 6 to the locH of sprite 6 - 2
  7.   end if
  8.   if (the width of sprite 6 < 376) and (the locH of sprite 6 < 57) then
  9.     set the locH of sprite 6 to 57
  10.   end if
  11.   if the locH of sprite 6 < -600 then
  12.     set the locH of sprite 6 to 200
  13.   end if
  14. end
  15.  
  16. on exitFrame me
  17.   go(the frame)
  18. end
  19.